package user;

/**
 *
 * @author frankkie
 */
public class Base {
	
	public Base( int id, int player_id,  double longitude, double latitude, int health, String name, String description ) {
        this.id = id;
        this.player_id = player_id;
        this.loc_longitude = longitude;
        this.loc_latitude = latitude;
        this.health = health;
        this.name = name;
        this.description = description;
    }
	
    int id;
    int player_id;
    double loc_longitude;
    double loc_latitude;
    int health;
    String name;
    String description;

    /**
     * @return the id
     */
    public int getId() {
        return id;
    }

    /**
     * @param id the id to set
     */
    public void setId(int id) {
        this.id = id;
    }

    /**
     * @return the player_id
     */
    public int getPlayer_id() {
        return player_id;
    }

    /**
     * @param player_id the player_id to set
     */
    public void setPlayer_id(int player_id) {
        this.player_id = player_id;
    }

    /**
     * @return the loc_longitude
     */
    public double getLoc_longitude() {
        return loc_longitude;
    }

    /**
     * @param loc_longitude the loc_longitude to set
     */
    public void setLoc_longitude(double loc_longitude) {
        this.loc_longitude = loc_longitude;
    }

    /**
     * @return the loc_latitude
     */
    public double getLoc_latitude() {
        return loc_latitude;
    }

    /**
     * @param loc_latitude the loc_latitude to set
     */
    public void setLoc_latitude(double loc_latitude) {
        this.loc_latitude = loc_latitude;
    }

    /**
     * @return the health
     */
    public int getHealth() {
        return health;
    }

    /**
     * @param health the health to set
     */
    public void setHealth(int health) {
        this.health = health;
    }

    /**
     * @return the name
     */
    public String getName() {
        return name;
    }

    /**
     * @param name the name to set
     */
    public void setName(String name) {
        this.name = name;
    }

    /**
     * @return the description
     */
    public String getDescription() {
        return description;
    }

    /**
     * @param description the description to set
     */
    public void setDescription(String description) {
        this.description = description;
    }
    
    public String toString() {
        return name;
    }
}
